package com.artisan.booteventbus.service;

import com.artisan.booteventbus.domain.MessageEvent;

import java.util.concurrent.CompletableFuture;

public interface MessageChannel {

    boolean supports(MessageEvent event);

    CompletableFuture<Void> sendAsync(MessageEvent event);
}